import org.thinker.clientui.AddUI;
import org.thinker.clientui.GetUI;
import org.thinker.clientui.MenuUI;
import org.thinker.clientui.RemoveUI;


public enum UIEnum implements MenuUI{
		
		ADD(1, new AddUI()) ,
		DELETE(2, new RemoveUI()),	
		READ(3, new GetUI());

		public MenuUI menu;

		
		private UIEnum(Integer oper, MenuUI ui){
			this.menu = ui;
		}
		

		@Override
		public String[] execute() {
			return this.menu.execute();
		}


		@Override
		public void excute() throws Exception {
			// TODO Auto-generated method stub
			
		}
		
	}